package com.platform.modules.wallet.service;

import java.math.BigDecimal;

public interface WalletKPayService {

    /**
     * 获取钱包地址
     * @return
     */
    String getWalletCode(String username, String security);

    /**
     * 余额查询
     * @return
     */
    int getBalance(String walletCode);

    /**
     * 游戏存款
     * @return
     */
    boolean deposit(String walletCode, BigDecimal amount, String number, String security);

    /**
     * 游戏取款
     * @return
     */
    boolean withdraw(String walletCode, BigDecimal amount, String number, String security);

    /**
     * 注册
     * @return
     */
    String register(String phone, String name, String nick);

    /**
     * 登录
     * @return
     */
    String login(String walletCode);
}
